//
//  UIViewController+FKAdd.m
//  FKNetWorking
//
//  Created by 云眼科技 on 16/7/16.
//  Copyright © 2016年 CloudEyes. All rights reserved.
//

#import "UIViewController+FKAdd.h"

@implementation UIViewController (FKAdd)

#pragma mark - settings
-(void)fk_setBackGroundColor:(UIColor *)color{
    self.view.backgroundColor = color;
}

-(void)fk_setTranslucentNO{
    self.navigationController.navigationBar.translucent = NO;
}

-(void)fk_setTranslucentYES{
    self.navigationController.navigationBar.translucent = YES;
}


#pragma mark - transition
-(void)fk_animationPushViewController:(UIViewController *)viewController{
    [self.navigationController pushViewController:viewController animated:YES];
}

@end
